package com.github.pig.sales.service.impl;

import com.github.pig.sales.entity.SalesCollarHis;
import com.github.pig.sales.mapper.SalesCollarHisMapper;
import com.github.pig.sales.service.ISalesCollarHisService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 领用记录 服务实现类
 * </p>
 *
 * @author andrew
 * @since 2018-06-16
 */
@Service
public class SalesCollarHisServiceImpl extends ServiceImpl<SalesCollarHisMapper, SalesCollarHis> implements ISalesCollarHisService {
    @Autowired private SalesCollarHisMapper salesCollarHisMapper;
    @Override
    public int getFlagById(int uid){
        return salesCollarHisMapper.getFlagById(uid);
    }
}
